<input [value]="test" (input)="test = $event.target.value">
<input ng-model="test">
<h1 (click)="click()" [title]="test" >{{test}} works! </h1>
<div  [innerHTML]="html">

</div>
<div *ngIf="test=='test'">
  <span *ngFor="let num of arr;let i = index">{{num}}---{{i}}</span>
</div>
<div [ngSwitch]="test">
  <span *ngSwitchCase="1">test </span>
  <span *ngSwitchCase="2">2 </span>
  <span *ngSwitchCase="3">3 </span>
  <span *ngSwitchCase="4">4 </span>
</div>